<!--#include file="inc/AspCms_SettingClass.asp" -->
<%CheckLogin()	
%>

<!DOCTYPE html>
<html lang="zh-CN" style="min-height: 100%;">
<head>
<title>Menu</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

<link href="images/uikit.min.css" rel="stylesheet">
<link href="css/timoo/timoo.css" rel="stylesheet">

<script src="images/jquery.min.js"></script>
<script src="images/uikit.min.js"></script>
<script src="images/uikit-icons.min.js"></script>
<script src="js/timoo/timoo.js"></script>
<script>var ver = "<%=currentversion%>";</script>
</head>
<body>
<div class="tm-right">
    <div class="main">
        <% if "admin_aspcms"=lcase(getAdminDir) then %>
        <div class="section tips">
            <div class="title">安全提示</div>
            <div class="content">
                <div>您的后台管理目录为默认目录，请您使用ftp或者其他方式将后台目录重命名。</div>
                <div class="info">
                    <ul>
                        <li class="subject">如何提升您的网站安全性？</li>
                        <li>1、修改后台路径。</li>
                        <li>2、修改数据库路径及名称。</li>
                        <li>3、设置较为复杂的后台管理密码。</li>
                    </ul>
                </div>
            </div>
        </div>
        <%end if%>
        <div class="section shortcut">
            <div class="title">快捷功能</div>
            <div class="content">
                <div class="uk-text-center list" uk-grid>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_content/_Sort/AspCms_Sort.asp">
                                <div class="icon"><i uk-icon="icon: list;"></i></div>
                                <div class="text">栏目管理</div>
                            </a>
                        </div>
                    </div>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_content/_Content/AspCms_ContentAdd.asp?sortType=2&sortid=&keyword=&page=&psize=&order=&ordsc=">
                                <div class="icon"><i uk-icon="icon: file-edit;"></i></div>
                                <div class="text">发布文档</div>
                            </a>
                        </div>
                    </div>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_content/_Content/AspCms_Recycling.asp">
                                <div class="icon"><i uk-icon="icon: trash;"></i></div>
                                <div class="text">内容回收站</div>
                            </a>
                        </div>
                    </div>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_content/_Comments/AspCms_Comments.asp">
                                <div class="icon"><i uk-icon="icon: comments;"></i></div>
                                <div class="text">评论管理</div>
                            </a>
                        </div>
                    </div>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_seo/AspCms_MakeHtml.asp?actType=html">
                                <div class="icon"><i uk-icon="icon: refresh;"></i></div>
                                <div class="text">更新HTML</div>
                            </a>
                        </div>
                    </div>
                    <div class="uk-width-1-6 unit">
                        <div class="box">
                            <a href="_system/AspCms_SiteSetting.asp">
                                <div class="icon"><i uk-icon="icon: settings;"></i></div>
                                <div class="text">更改系统参数</div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="section count">
            <div class="title">访问统计</div>
            <div class="content">
                <ul class="uk-clearfix">
                    <li class="uk-float-left">
                        <span class="time">今日</span>
                        <span class="number"><%=getTodayVisits%></span>
                        <span class="measure">人</span>
                    </li>
                    <li class="uk-float-left">
                        <span class="time">昨日</span>
                        <span class="number"><%=getYesterdayVisits%></span>
                        <span class="measure">人</span>
                    </li>
                    <li class="uk-float-left">
                        <span class="time">本月</span>
                        <span class="number"><%=getMonthVisits%></span>
                        <span class="measure">人</span>
                    </li>
                    <li class="uk-float-left">
                        <span class="time">总访问</span>
                        <span class="number"><%=getAllVisits%></span>
                        <span class="measure">人</span>
                    </li>
                </ul>
            </div>
        </div>
        <div class="section pending">
            <div class="title">内容统计</div>
            <div class="content">
                <ul class="uk-clearfix">
                    <li class="uk-float-left">
                        单页
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Sort where SortType=1 and LanguageID="&session("languageID")&"")%>
                        </span>
                        篇
                    </li>
                    <li class="uk-float-left">
                        新闻
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=2 and LanguageID="&session("languageID")&")")%>
                        </span>
                        篇
                    </li>
                    <li class="uk-float-left">
                        产品
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=3 and LanguageID="&session("languageID")&")")%>
                        </span>
                        个
                    </li>
                    <li class="uk-float-left">
                        下载
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=4 and LanguageID="&session("languageID")&")")%>
                        </span>
                        个
                    </li>
                    <li class="uk-float-left">
                        招聘
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=5 and LanguageID="&session("languageID")&")")%>
                        </span>
                        个
                    </li>
                    <li class="uk-float-left">
                        相册
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=6 and LanguageID="&session("languageID")&")")%>
                        </span>
                        个
                    </li>
                    <li class="uk-float-left">
                        视频
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Content where ContentStatus=1 and SortID in(select SortID from {prefix}Sort where SortType=8 and LanguageID="&session("languageID")&")")%>
                        </span>
                        个
                    </li>
                </ul>
            </div>
        </div>
        <div class="section pending">
            <div class="title">待处理事项</div>
            <div class="content">
                <ul class="uk-clearfix">
                    <li class="uk-float-left">
                        <a href="_content/_Comments/AspCms_Message.asp">未回答留言</a>
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}GuestBook where faqStatus=0")%>
                        </span>
                    </li>
                    <li class="uk-float-left">
                        <a href="_content/_Order/AspCms_Order.asp">未处理订单</a>
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Order2 where state=0")%>
                        </span>
                    </li>
                    <li class="uk-float-left">
                        <a href="_content/_Comments/AspCms_Comments.asp">未处理评论</a>
                        <span class="number">
                            <%=getDataCount("select Count(*) from {prefix}Comments where CommentStatus=0")%>
                        </span>
                    </li>
                    <li class="uk-float-left">
                        <a href="_content/_Apply/AspCms_Apply.asp">未处理应聘</a>
                        <span class="number"><%=getDataCount("select Count(*) from {prefix}Apply where ApplyStatus=0")%></span>
                    </li>
                </ul>
            </div>
        </div>
        
        <div class="section system">
            <div class="title">购买其他业务</div>
            <div class="content">
            	<div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">业务名称</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">网站设计|网站快排|微信小程序|网店装修|公众号开发|域名空间|地图标注|企业彩铃|Logo设计</div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">联系方式</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">Aspcms模板网：18502252061</div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="section system">
            <div class="title">系统信息</div>
            <div class="content">
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">购买更多模板</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <span class="ver">请登录Aspcms模板网查看</span>
                            <span class="download">
                                <a href="http://www.aspcms.com.cn" target="_blank">查看更多模板样式</a>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">授权信息</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">Aspcms模板网授权</div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">服务器信息</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <ul class="uk-clearfix">
                                <li class="uk-float-left">
                                    <span class="subject">名称：</span>
                                    <span class="vaule"><%=Request.ServerVariables("SERVER_NAME")%></span>
                                </li>
                                <li class="uk-float-left">
                                    <span class="subject">IP：</span>
                                    <span class="vaule"><%=Request.ServerVariables("LOCAL_ADDR")%></span>
                                </li>
                                <li class="uk-float-left">
                                    <span class="subject">端口：</span>
                                    <span class="vaule"><%=Request.ServerVariables("SERVER_PORT")%></span>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">站点物理路径</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box"><%=Request.ServerVariables("PATH_TRANSLATED")%></div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">FSO文本读写</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <%if Not isInstallObj(FSO_OBJ_NAME) Then%>
                                <i uk-icon="icon: close;" class="close"></i>
                                <span class="text">网站不能正常使用</span>
                            <%else%>
                                <i uk-icon="icon: check;" class="check"></i>
                            <%end if%>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">JMail组件</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <%if Not isInstallObj("JMail.Message") Then%>
                                <i uk-icon="icon: close;" class="close"></i>
                                <span class="text">邮件提醒功能不能正常使用</span>
                            <%else%>
                                <i uk-icon="icon: check;" class="check"></i>
                            <%end if%>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">ASPJpeg 组件</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <%if Not isInstallObj("Persits.Jpeg") Then%>
                                <i uk-icon="icon: close;" class="close"></i>
                                <span class="text">水印功能不能正常使用</span>
                            <%else%>
                                <i uk-icon="icon: check;" class="check"></i>
                            <%end if%>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">脚本解释引擎</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box">
                            <%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %>
                        </div>
                    </div>
                </div>
                <div class="list" uk-grid>
                    <div class="uk-width-1-6 left">
                        <div class="box">服务器IIS版本</div>
                    </div>
                    <div class="uk-width-5-6 right">
                        <div class="box"><%=Request.ServerVariables("SERVER_SOFTWARE")%></div>
                    </div>
                </div>
            </div>
        </div>
        
    </div>
</div>
</body>
</html>